﻿
<form action="{% url 'paper:index_yunsuan' %}" method="post">
{% csrf_token %}
请选择题型<select name="question_type1" id="id_question_type" class="q1">
	<option value="" >----------</option>
	<option value="1" selected>单选题</option>
	<option value="2">多选题</option>
	<option value="3">填空题</option>
	<option value="4">简答题</option>
	<option value="5">英汉互译题</option>
	<option value="6">判断题</option>
	<option value="7">素养测试题</option>
</select>
<br /><br />
请输入要出几道题<input type="text" name="question_type1" value="5"><br />
请输入该题型分值<input type="text" name="question_type1" value="2">
<br />

请选择题型<select name="question_type2" id="id_question_type">
	<option value="" >----------</option>
	<option value="1">单选题</option>
	<option value="2">多选题</option>
	<option value="3" selected>填空题</option>
	<option value="4">简答题</option>
	<option value="5">英汉互译</option>
	<option value="6">判断题</option>
	<option value="7">素养测试题</option>
</select>
<br /><br />
请输入要出几道题<input type="text" name="question_type2" value="5"><br />
请输入该题型分值<input type="text" name="question_type2" value="3">
<br />

请选择题型<select name="question_type3" id="id_question_type">
	<option value="">----------</option>
	<option value="1">单选题</option>
	<option value="2">多选题</option>
	<option value="3">填空题</option>
	<option value="4">简答题</option>
	<option value="5" selected>英汉互译</option>
	<option value="6">判断题</option>
	<option value="7">素养测试题</option>
</select>
<br /><br />
请输入要出几道题<input type="text" name="question_type3" value="5"><br />
请输入该题型分值<input type="text" name="question_type3" value="3">
<br />

请选择题型<select name="question_type4" id="id_question_type">
	<option value="">----------</option>
	<option value="1">单选题</option>
	<option value="2">多选题</option>
	<option value="3">填空题</option>
	<option value="4">简答题</option>
	<option value="5">英汉互译</option>
	<option value="6" selected>判断题</option>
	<option value="7">素养测试题</option>
</select>
<br /><br />
请输入要出几道题<input type="text" name="question_type4" value="5"><br />
请输入该题型分值<input type="text" name="question_type4" value="2"><br />


<input type="submit" name="" value="提交">
</form>

<!-- <script type="text/javascript">
	var a = document.getElementById('btn');
	b = document.getElementsByClassName('q1');
	a.onclick = function(){
		b.value=['单选题','10','2'];
		alert(b.value)
		document.getElementsByName('question_type2').value=['判断题','5','3'];
		document.getElementsByName('question_type3').value=['填空题','8','2'];
	}
	
</script> -->